
import React,{Component} from 'react'
import Header from 'src/pages/Header'
import Footer from 'src/pages/Footer'
import 'src/pages/app.less'

export default class App extends Component{
  componentWillMount() {
    console.log(this.props);
  }

  render() {
    return (
        <div>
          <Header/>
          <div className="wrap center">
            {this.props.children}
          </div>
          <Footer/>
        </div>
    )
  }
}